#ifndef LED_RESOURCES_H
#define LED_RESOURCES_H

// Extract group number from packed value
#define GROUP(x) (x>>16)
// Extract pin number from packed value
#define PIN(x)   (x&0xFFFF)
// Pack group and pin into single value
#define GROUP_PIN(x,y) ((x<<16)|y)

#endif